<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=<tpl> $NCharset </tpl>" />
<tpl> include file ='../store.config.html' </tpl> 
<script type="text/javascript" language="javascript" src="<tpl> $Site_Url </tpl>/js/store/store_static.js"></script>
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/templates/green/store/css/storestyle.css"/>
<link href="..<tpl>$templatepath</tpl>/css/style/blue.css" rel="stylesheet" type="text/css" title="styles1" media="screen"  />
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/templates/green/store/css/default_new.css"/>
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/templates/green/store/css/header_new.css"/>


<STYLE type="text/css">
body {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}

#InfoSelectorTarget ul, #InfoSelectorTarget li.select{
	background-position:left -87px;
}
#InfoSelectorTarget li.select a {
	background-position:right -87px;
}
#title1,.title2 {
	border-top: 3px solid #3A81C8;
}

td#head {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#content {
	border:1px solid #bbb;
}
#layout_1 {
	border:medium none;
}
#layout_0 {
	border:medium none;
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#layout_0 h3 {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#layout_2 {
	border:medium none;
	cursor:<tpl>$arrBlog.cursor</tpl>;
;
}
#layout_2 h3 {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
.mContent {
	border-top:medium none;
	border-right:medium none;
	border-left:medium none;
	border-bottom:1px solid #e5e5e5;
	height:101px;
	background:none transparent scroll repeat 0% 0%;
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#head div.alignright {
	float:right;
	margin:-28px 20px 0 0;
}
a {
	color:<tpl>$arrBlog.linkcolor</tpl>;
}
</STYLE>
</head>

<body id=body style="background-color: <tpl> $arrBlog.bodycolor </tpl>; background-image: url(<tpl> $arrBlog.bodyimage </tpl>); color: <tpl> $arrBlog.fontcolor </tpl>;background-repeat: <tpl> $arrBlog.bodyrepeat </tpl>;">
<!-- 头文件 -->
<!-- 导航蓝栏  -->
<div id="layout_page">
  <tpl> include file="../store_header.html" </tpl>
<div id="sitenav"></div>

<div style=" float:left; width:400px; height:5px; ">
<div style=" position:relative;float:left; top:-25px;">
<a href="<tpl> $site_url </tpl>"><tpl> $langCIndex </tpl></a> &gt; <a href="<tpl> $site_url </tpl>/home/shop.php?action=list&keyword=&slcShopClass="><tpl> $langCShop </tpl></a> &gt; <a href="index.php?userid=<tpl> $frame_user_id </tpl>"><tpl> $shop_array.shop_name|default:'my shop' </tpl></a>
</div>
</div>

<!--  背景图  -->
<div id="submenu_bg" style="background-color: <tpl>$arrBlog.headcolor</tpl>; background-image: url(<tpl>$arrBlog.headimage</tpl>); background-repeat:<tpl>$arrBlog.headrepeat</tpl>; color: <tpl>$arrBlog.headtextcolor</tpl>;">
<!-- 栏目  -->
<!-- <a id="addtofav" href="#"><tpl> $langStoreCollectionShop </tpl></a> -->
<div id="submenu_bg_mainnav"><div id="submenu_bg_mainnav0"></div>
<!-- 子栏目  -->
<div id="submenu_bg_mainnav0_lanmu"><ul><li class="chaojixiaodian_1"><a href="<tpl> $shop_url </tpl>"><span><tpl> $langStoreControlMyShop </tpl></span></a></li>
<tpl> if $frame_shop_info.audit_state eq '2' </tpl>
	<li class="chaojixiaodian"><a href="intro.php?userid=<tpl> $frame_user_id </tpl>" target="_blank"><span><tpl> $langStoreControlShopIntro </tpl></span></a></li>
	<li class="dianpujieshao" id="show_shoptag"><a href="shop_map.php?userid=<tpl> $frame_user_id </tpl>" target="_blank"><span><tpl> $langStoreControlShopMap </tpl></span></a></li>
<tpl> else </tpl>
	<li class="chaojixiaodian" id="show_shoptag"><a href="intro.php?userid=<tpl> $frame_user_id </tpl>" target="_blank"><span><tpl> $langStoreControlShopIntro </tpl></span></a></li>
<tpl> /if </tpl>
</ul></div>
</div>
</div>
<table width="950" style="margin-left:auto; margin-right:auto; float:left;*float:none;_float:none; margin-top:10px;" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><!-- 左边栏目  -->
		<table width="100%" style="background-color: <tpl>$arrBlog.contentcolor</tpl>; background-repeat: <tpl>$arrBlog.contentrepeat</tpl>; background-image: url(<tpl>$arrBlog.contentimage</tpl>);">
			<TBODY>
				<TR>
				  <TD align="left" valign="top" id=layout_0 style="background-color: <tpl>$arrBlog.sidecolor</tpl>; background-image: url(<tpl>$arrBlog.sideimage</tpl>); background-repeat: <tpl>$arrBlog.siderepeat</tpl>;">
					<tpl>if $arrBlog.slayout eq '2' </tpl>
						<!-- 搜索 -->
					  <div class="rightsidebar_sousuo">
						<form target="_blank" name="form1" action="product.php" method="get">
							<input name="userid" value="<tpl> $member_id </tpl>" type="hidden">
							<input name="searchtype" value="1" type="hidden">
							<input name="keyword" class="sou_sousuo" size="20" value="" style="height: 14px;" type="text">
							<input style=" width:56px; height:20px; font-size:12px;" name="Submit" value="<tpl> $langCSearchBaby </tpl>" type="submit">
						</form>
					  </div>
	  	<!-- 店铺公告 -->
	    <div class="container_right">
						<!-- 左边显示模式 -->
						<tpl>section name=item loop=$side_template</tpl>
							<tpl>if $side_template[item] neq ''</tpl>
								<div style="float:left; clear:both; margin-top:5px;" id="<tpl> $side_template[item] </tpl>">
										    
														
														<ul>
															<li style="background-color: <tpl>$arrBlog.blockcolor</tpl>; background-image: url(<tpl>$arrBlog.blockimage</tpl>); color: <tpl>$arrBlog.blocktextcolor</tpl>; background-repeat: <tpl>$arrBlog.blockrepeat</tpl>; width:183px; float:left;" id=block<tpl> $side_template[item] </tpl>><!-- 栏目内容 --></li>
 	  	 	  
														</ul>

								</div>
							<tpl>/if</tpl>
						<tpl>/section</tpl>
					<tpl>/if</tpl>
					<tpl>if $arrBlog.slayout eq '-1'</tpl>
						<!-- 两边边显示模式 -->
						<tpl>section name=item loop=$left_template</tpl>
							<tpl>if $left_template[item] neq ''</tpl>
								<DIV id="<tpl>$left_template[item]</tpl>" ></DIV>
							<tpl>/if</tpl>
						<tpl>/section</tpl>
					</div>
					<tpl>/if</tpl>
					
				  </TD>
				  <TD align="center" width="741"  id=layout_1 style="background-color: <tpl>$arrBlog.maincolor</tpl>; background-image: url(<tpl>$arrBlog.mainimage</tpl>); background-repeat: <tpl>$arrBlog.mainrepeat</tpl>;"><!-- 中间内容 -->
				 <div style="margin-left:auto; margin-right:auto; width:735px;"> 
                <tpl> section name=main loop=$main_template </tpl>
					<tpl> if $main_template[main] neq '' </tpl>
						<div  id="<tpl>$main_template[main]</tpl>">
							<tpl> assign var='title_index' value=$main_template[main] </tpl>
							<div></div>
							<div id="show_<tpl> $main_template[main] </tpl>"></div
						></div> 
					<tpl>/if</tpl>
                <tpl>/section</tpl>
			</div>
              </TD>
              <TD align="right" valign="top" id=layout_2 style="background-color: <tpl>$arrBlog.sidecolor</tpl>; background-image: url(<tpl>$arrBlog.sideimage</tpl>); background-repeat: <tpl>$arrBlog.siderepeat</tpl>;" >
				  <tpl> if $arrBlog.slayout eq '0' </tpl>
				  	<!-- 搜索 -->
				  <div class="rightsidebar_sousuo">
					<form target="_blank" name="form1" action="product.php?userid=<tpl> $member_id </tpl>" method="post">
						<input name="keyword" class="sou_sousuo" size="20" value="" type="text">
						<input style=" width:56px; height:20px; font-size:12px;" name="Submit" value="<tpl> $langCSearchBaby </tpl>" type="submit">
						<input name="searchtype" size="20" value="1" style="height: 14px;" type="hidden">
					</form>
				  </div>
	  <!-- 店铺公告 -->
	  <div class="container_right">
						<tpl>section name=item loop=$side_template</tpl>
							<tpl>if $side_template[item] neq ''</tpl>
								<div style="float:left; clear:both; margin-top:5px;" id="<tpl> $side_template[item] </tpl>">
										    
														
														<ul>
															<li style="background-color: <tpl>$arrBlog.blockcolor</tpl>; background-image: url(<tpl>$arrBlog.blockimage</tpl>); color: <tpl>$arrBlog.blocktextcolor</tpl>; background-repeat: <tpl>$arrBlog.blockrepeat</tpl>; width:183px; float:left;" id=block<tpl> $side_template[item] </tpl> ><!-- 栏目内容 --></li>
 	  	 	  
														</ul>

								</div>
							<tpl>/if</tpl>
						<tpl>/section</tpl>
					<tpl>/if</tpl>
					</div>
				  </TD>
				</TR>
			</TBODY>
	  </table>
	  
	</td>
  </tr>
</table>
<tpl> include file ='../../../html/footer.html' </tpl>

</div>
</body>
<script type="text/javascript">
function showMessage(begin,id)
{
	$.ajax({
		type:'get',
		url:'index.php',
		data: 'action=ajax_'+id+'&userid=<tpl> $member_id </tpl>&mid='+'<tpl>$mid</tpl>&ajax=1',
		success:function(msg){
			if (id == 'shoptag') {
				$('#'+begin+id).after(msg);
			} else {
				$('#'+begin+id).html(msg);	
			}
		}
	});
}
<tpl>section name=item loop=$side_template</tpl>
	<tpl>if $side_template[item] neq ''</tpl>
		showMessage('block','<tpl>$side_template[item]</tpl>');
	<tpl>/if</tpl>
<tpl>/section</tpl>
<tpl>section name=main loop=$main_template</tpl>
	<tpl>if $main_template[main] neq ''</tpl>
		showMessage('show_','<tpl>$main_template[main]</tpl>');
	<tpl>/if</tpl>
<tpl>/section</tpl>
showMessage('show_','shoptag');
hideSide(<tpl>$arrBlog.slayout</tpl>);
</script>
</html>
